#2F7162

Color Details

HEX
#2F7162
RGB
rgb(47, 113, 98)
HSL
hsl(166, 41%, 31%)
CMYK
cmyk(58%, 0%, 13%, 56%)
Best text on this color #FFFFFF (CR 5.74:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2F7162 swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2F7162

#2F7162 converts to RGB(47, 113, 98) and HSL(166, 41%, 31%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2F7162 FAQs

What is the RGB value of #2F7162?
RGB: 47, 113, 98. Copy as CSS: rgb(47, 113, 98)
Is #2F7162 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2F7162?
Complement: #6f2f3e.
Does #2F7162 have good contrast on white or black?
On white: 5.74:1 (AA (normal text)). On black: 3.66:1 (AA (large text)).